//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

public class SystemClass implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    @TableField(value = "class_name", condition = SqlCondition.LIKE)
    private String className;
    private Long teacherId;

    private Integer state;
    private Long createTime;
    private Long createUser;
    @TableField(
            exist = false
    )
    private String teacherName;
    @TableField(
            exist = false
    )
    private String createUserName;

    public SystemClass() {
    }

    public Long getId() {
        return this.id;
    }

    public String getClassName() {
        return this.className;
    }

    public Long getTeacherId() {
        return this.teacherId;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public String getTeacherName() {
        return this.teacherName;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }

    public SystemClass setId(final Long id) {
        this.id = id;
        return this;
    }

    public SystemClass setClassName(final String className) {
        this.className = className;
        return this;
    }

    public SystemClass setTeacherId(final Long teacherId) {
        this.teacherId = teacherId;
        return this;
    }

    public SystemClass setState(final Integer state) {
        this.state = state;
        return this;
    }

    public SystemClass setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public SystemClass setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public SystemClass setTeacherName(final String teacherName) {
        this.teacherName = teacherName;
        return this;
    }

    public SystemClass setCreateUserName(final String createUserName) {
        this.createUserName = createUserName;
        return this;
    }

    public String toString() {
        return "SystemClass(id=" + this.getId() + ", className=" + this.getClassName() + ", teacherId=" + this.getTeacherId() + ", state=" + this.getState() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", teacherName=" + this.getTeacherName() + ", createUserName=" + this.getCreateUserName() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SystemClass)) {
            return false;
        } else {
            SystemClass other = (SystemClass)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label107;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label107;
                    }

                    return false;
                }

                Object this$className = this.getClassName();
                Object other$className = other.getClassName();
                if (this$className == null) {
                    if (other$className != null) {
                        return false;
                    }
                } else if (!this$className.equals(other$className)) {
                    return false;
                }

                Object this$teacherId = this.getTeacherId();
                Object other$teacherId = other.getTeacherId();
                if (this$teacherId == null) {
                    if (other$teacherId != null) {
                        return false;
                    }
                } else if (!this$teacherId.equals(other$teacherId)) {
                    return false;
                }

                label86: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label86;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label79;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$createUser = this.getCreateUser();
                    Object other$createUser = other.getCreateUser();
                    if (this$createUser == null) {
                        if (other$createUser == null) {
                            break label72;
                        }
                    } else if (this$createUser.equals(other$createUser)) {
                        break label72;
                    }

                    return false;
                }

                Object this$teacherName = this.getTeacherName();
                Object other$teacherName = other.getTeacherName();
                if (this$teacherName == null) {
                    if (other$teacherName != null) {
                        return false;
                    }
                } else if (!this$teacherName.equals(other$teacherName)) {
                    return false;
                }

                Object this$createUserName = this.getCreateUserName();
                Object other$createUserName = other.getCreateUserName();
                if (this$createUserName == null) {
                    if (other$createUserName != null) {
                        return false;
                    }
                } else if (!this$createUserName.equals(other$createUserName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SystemClass;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $className = this.getClassName();
        result1 = result * 59 + ($className == null ? 43 : $className.hashCode());
        Object $teacherId = this.getTeacherId();
        result1 = result * 59 + ($teacherId == null ? 43 : $teacherId.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $teacherName = this.getTeacherName();
        result1 = result * 59 + ($teacherName == null ? 43 : $teacherName.hashCode());
        Object $createUserName = this.getCreateUserName();
        result1 = result * 59 + ($createUserName == null ? 43 : $createUserName.hashCode());
        return result1;
    }
}
